package com.bootdo.program.common.service;

import com.bootdo.program.common.dao.PaymentransactionDao;
import com.bootdo.program.common.domain.PaymentransactionDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;




@Service
public class PaymentransactionService {
	@Autowired
	private PaymentransactionDao paymentransactionDao;
	
	
	public PaymentransactionDO get(Long id){
		return paymentransactionDao.get(id);
	}
	
	
	public List<PaymentransactionDO> list(Map<String, Object> map){
		return paymentransactionDao.list(map);
	}
	
	
	public int count(Map<String, Object> map){
		return paymentransactionDao.count(map);
	}
	
	
	public int save(PaymentransactionDO paymentransaction){
		return paymentransactionDao.save(paymentransaction);
	}
	
	
	public int update(PaymentransactionDO paymentransaction){
		return paymentransactionDao.update(paymentransaction);
	}
	
	
	public int remove(Long id){
		return paymentransactionDao.remove(id);
	}
	
	
	public int batchRemove(Long[] ids){
		return paymentransactionDao.batchRemove(ids);
	}
	
}
